﻿//
// ItemAddedEventArgs.cs
//
// Authors:
//    Claus Jørgensen <10229@iha.dk>
//    Lars Rønde Hansen <09548@iha.dk>
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RSD.Scripting
{
    using Data;

    /// <summary>
    /// Provides data for the <see cref="E:IScorBotScript.ItemAdded"/> event.
    /// </summary>
    public class ItemAddedEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:ItemAddedEventArgs"/> class.
        /// </summary>
        /// <param name="itemAdded">The added item.</param>
        public ItemAddedEventArgs(MeasuredItem itemAdded)
        {
            this.ItemAdded = itemAdded;            
        }

        /// <summary>
        /// Gets or sets the item added.
        /// </summary>
        public MeasuredItem ItemAdded
        {
            get;
            private set;
        }
    }
}
